class BootstrapForm():
    exclude_field_list = []

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        for name, field in self.fields.items():
            if name in self.exclude_field_list:
                # field.widget.attrs.update({'class': 'radio'})
                continue
            field.widget.attrs.update({'class': 'form-control'})
            field.widget.attrs.update({'placeholder': f'请输入{field.label}'})
